package com.lanmao.emc.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

/**
 * 描述：
 *
 * @author lanmao
 * @since 2024年11月11日 20:40
 */
public class FeIndexLogPO {
    private Long id;
    @JSONField(name = "index_name")
    private String indexName;
    @JSONField(name = "index_rel_name")
    private String indexRelName;
    @JSONField(name = "version")
    private String version;
    @JSONField(name = "is_used")
    private Integer isUsed;
    @JSONField(name = "project_name")
    private String projectName;
    @JSONField(name = "cost_time")
    private Long costTime;
    @JSONField(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    @JSONField(name = "error_info")
    private String errorInfo;
    @JSONField(name = "success")
    private String success;
    @JSONField(name = "count")
    private Long count;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getIndexRelName() {
        return indexRelName;
    }

    public void setIndexRelName(String indexRelName) {
        this.indexRelName = indexRelName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(Integer isUsed) {
        this.isUsed = isUsed;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getCostTime() {
        return costTime;
    }

    public void setCostTime(Long costTime) {
        this.costTime = costTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getErrorInfo() {
        return errorInfo;
    }

    public void setErrorInfo(String errorInfo) {
        this.errorInfo = errorInfo;
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }
}